def decorator(func):
    func('hi')
    print('this is decorator')

#@decorator
def target(arg):
    print('this is target')
    print(arg)
decorator(target)
target("hello world")

